﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="outREACH.Home" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
<div id="header-wrapper">
     
		<div id="header">
       
			<div id="menu">
            
				<ul>
					<li class="current_page_item"><a id="A1" href="~/Default.aspx" runat="server">HOME</a></li>
					<li><a id="A2" href="~/All(NonMember)/Education.aspx" runat="server">EDUCATION</a></li>
					<li><a id="A3" href="~/All(NonMember)/Medical.aspx" runat="server">MEDICAL</a></li>
					<li><a id="A4" href="~/All(NonMember)/Infrastructure.aspx" runat="server">INFRA STRUCTURE</a></li>
					<li><a id="A5" href="~/All(NonMember)/Donation.aspx" runat="server">DONATION</a></li>
					<li><a id="A6" href="~/ContactUs_NonMem.aspx" runat="server">CONTACT US</a></li>
				</ul>
               
			</div>
            
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:ImageButton ID="ImageButton1" runat="server" Height="170px" 
                ImageUrl="~/Images/Untitled-2.png" Width="175px" 
                PostBackUrl="~/Default.aspx" />
		</div>
	</div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:Panel ID="Panel5" runat="server" Height="1030px" defaultbutton="Login">
        <p>
            <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="16pt" 
            Text="Let's Get Started!!" align = "center"></asp:Label>
        </p>
        <p>
            <asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Size="14pt" 
            Text="Login:"></asp:Label>
        </p>
        <p>
            Username : <asp:TextBox ID="txtUser" runat="server" Height="20px" Width="155px"></asp:TextBox>
        </p>
        <p>
            Password:&nbsp;
            <asp:TextBox ID="txtPass" runat="server" Height="20px" TextMode="Password" 
                Width="155px"></asp:TextBox>
            &nbsp;&nbsp;
            <asp:CheckBox ID="chkRemember" runat="server" Text=" Remember Username?" 
                xID="CheckBox1" />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            <asp:LinkButton ID="LinkButton1" runat="server" ForeColor="Blue" 
                CausesValidation="False" PostBackUrl="~/forgetPass.aspx">Forget Password?</asp:LinkButton>
        </p>
        <p>
            <asp:Button ID="Login" runat="server" Text="Login" Width="58px" Height="28px" 
            align = "center" onclick="Login_Click"/>
        </p>
        <p>
            <asp:Label ID="InvalidUP" runat="server" ForeColor="Red" 
                
                Text="Username or Password is Invalid. Please re-enter your Username and Password" 
                Visible="False" BackColor="White"></asp:Label>
        </p>
        <p>
            <asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Size="16pt" 
            Text="Wanna be a part of our Family?" align = "center"></asp:Label>
        </p>
        <p style="height: 51px">
            Sign up now and make a DIFFERENCE!!<asp:Button ID="SignUp" runat="server" 
                Height="28px" PostBackUrl="~/SignUp(Choose).aspx" Text="Sign Up" 
                Width="86px" CausesValidation="False" />
        </p>
    </asp:Panel>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="Panel4" runat="server" Height="1030px" ForeColor="Black">
        <asp:Label ID="annoucement" runat="server" Font-Bold="True" 
            Font-Italic="True" Font-Size="20pt" Text="Latest Annoucement"></asp:Label>
        <br />
        <br />
        <br />

        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button7" runat="server" Font-Size="12pt" 
            onclick="Button7_Click" style="margin-left: 0px" Text="All Updates" 
            Width="109px" />
        &nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button8" runat="server" Height="27px" Text="Education Updates" 
            Width="158px" onclick="Button8_Click" Font-Size="12pt" />
        &nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button10" runat="server" onclick="Button10_Click" 
            Text="Medical Updates" Width="142px" Font-Size="12pt" />
        &nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button9" runat="server" onclick="Button9_Click" 
            Text="Financial Updates" Width="146px" Font-Size="12pt" />
        &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:GridView ID="GridView1" runat="server" align="center" 
            AutoGenerateColumns="False" DataSourceID="ObjectDataSource1" ShowHeader="False" 
            Width="600px" AllowPaging="True" 
            onpageindexchanged="GridView1_PageIndexChanged">
            <Columns>
                <asp:TemplateField ShowHeader="False">
                    <ItemTemplate>
                        <asp:Label ID="Label4" runat="server" Font-Bold="True" Font-Size="16pt" 
                            Text='<%# Eval("title") %>'></asp:Label>
                        <asp:Label ID="Label12" runat="server" Font-Bold="True" Font-Size="16pt" 
                            Text='<%# Eval("replyTitle") %>'></asp:Label>
                        <asp:Label ID="Label20" runat="server" Font-Bold="True" Font-Size="16pt" 
                            Text='<%# Eval("section") %>'></asp:Label>
                        <br />
                        <asp:Label ID="Label5" runat="server" Font-Size="14pt" 
                            Text='<%# Eval("text") %>'></asp:Label>
                        <asp:Label ID="Label13" runat="server" Font-Size="14pt" 
                            Text='<%# Eval("reply") %>'></asp:Label>
                        <asp:Label ID="Label21" runat="server" Font-Size="14pt" 
                            Text='<%# Eval("name") %>'></asp:Label>
                        <asp:Label ID="Label23" runat="server" Font-Size="14pt" 
                            Text=" has just donated"></asp:Label>
                        <asp:Label ID="Label53" runat="server" Text="$" Font-Size="14pt"></asp:Label>
                        <asp:Label ID="Label25" runat="server" Font-Size="14pt" ForeColor="Orange" 
                            Text='<%# Eval("amount") %>'></asp:Label>
                        <asp:Label ID="Label24" runat="server" Font-Size="14pt" Text="to"></asp:Label>
                        <asp:Label ID="Label28" runat="server" Font-Size="14pt" ForeColor="Red" 
                            Text='<%# Eval("countryDonated") %>'></asp:Label>
                        <asp:Label ID="Label26" runat="server" Font-Size="14pt" Text="at"></asp:Label>
                        <asp:Label ID="Label27" runat="server" Font-Size="14pt" ForeColor="#0099FF" 
                            Text='<%# Eval("dateTime") %>'></asp:Label>
                        <br />
                        <asp:Label ID="Label14" runat="server" Text="Reply By:" Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label15" runat="server" Text='<%# Eval("replyUser") %>' 
                            Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label16" runat="server" Text=", at:" Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label17" runat="server" ForeColor="#0099FF" 
                            Text='<%# Eval("dateTime") %>' Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label18" runat="server" Text=" from " Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label19" runat="server" ForeColor="Red" 
                            Text='<%# Eval("replyCategory") %>' Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label9" runat="server" Text="Post By: " Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label6" runat="server" Text='<%# Eval("userName") %>' 
                            Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label10" runat="server" Text=", at:" Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label7" runat="server" ForeColor="#0099FF" 
                            Text='<%# Eval("dateTime") %>' Font-Size="12pt"></asp:Label>
                        &nbsp;<asp:Label ID="Label11" runat="server" Text=" from " Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label8" runat="server" ForeColor="Red" 
                            Text='<%# Eval("category") %>' Font-Size="12pt"></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle BorderStyle="Dotted" />
                </asp:TemplateField>
            </Columns>
            <PagerSettings Visible="False" />
        </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
            SelectMethod="GetAnnoucement" TypeName="outREACH.App_Code.Annoucement">
        </asp:ObjectDataSource>
        <br />
        <asp:GridView ID="GridView2" runat="server" align="center" 
            AutoGenerateColumns="False" DataSourceID="ObjectDataSource2" ShowHeader="False" 
            Width="600px" Visible="False" AllowPaging="True">
            <Columns>
                <asp:TemplateField ShowHeader="False">
                    <ItemTemplate>
                        <asp:Label ID="Label29" runat="server" Font-Bold="True" Font-Size="16pt" 
                            Text='<%# Eval("title") %>'></asp:Label>
                        <asp:Label ID="Label30" runat="server" Font-Bold="True" Font-Size="16pt" 
                            Text='<%# Eval("replyTitle") %>'></asp:Label>
                        <br />
                        <asp:Label ID="Label32" runat="server" Font-Size="14pt" 
                            Text='<%# Eval("text") %>'></asp:Label>
                        <asp:Label ID="Label33" runat="server" Font-Size="14pt" 
                            Text='<%# Eval("reply") %>'></asp:Label>
                        <br />
                        <asp:Label ID="Label41" runat="server" 
                            Text='Reply By:' Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label42" runat="server" 
                            Text='<%# Eval("replyUser") %>' Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label43" runat="server" 
                            Text=', at:' Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label44" runat="server" Text='<%# Eval("dateTime") %>' 
                            ForeColor="#0099FF" Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label45" runat="server" 
                            Text=' from ' Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label46" runat="server" Text="Education" ForeColor="Red" 
                            Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label47" runat="server" 
                            Text='Post By: ' Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label48" runat="server" Text='<%# Eval("userName") %>' 
                            Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label49" runat="server" 
                            Text=', at:' Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label50" runat="server" Text='<%# Eval("dateTime") %>' 
                            ForeColor="#0099FF" Font-Size="12pt"></asp:Label>
                        &nbsp;<asp:Label ID="Label51" runat="server" Text=" from " Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label52" runat="server" ForeColor="Red" 
                            Text='Education' Font-Size="12pt"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <PagerSettings Visible="False" />
        </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" 
            SelectMethod="getEduAnnouncement" 
            TypeName="outREACH.App_Code.EduAnnouncement" 
            OldValuesParameterFormatString="original_{0}">
        </asp:ObjectDataSource>
        <br />
        <asp:GridView ID="GridView3" runat="server" align="center" 
            AutoGenerateColumns="False" DataSourceID="ObjectDataSource3" ShowHeader="False" 
            Visible="False" Width="600px" AllowPaging="True">
            <Columns>
                <asp:TemplateField ShowHeader="False">
                    <ItemTemplate>
                        <asp:Label ID="Label54" runat="server" Font-Bold="True" Font-Size="16pt" 
                            Text='<%# Eval("title") %>'></asp:Label>
                        <asp:Label ID="Label55" runat="server" Font-Bold="True" Font-Size="16pt" 
                            Text='<%# Eval("replyTitle") %>'></asp:Label>
                        <br />
                        <asp:Label ID="Label56" runat="server" Font-Size="14pt" 
                            Text='<%# Eval("text") %>'></asp:Label>
                        <asp:Label ID="Label57" runat="server" Font-Size="14pt" 
                            Text='<%# Eval("reply") %>'></asp:Label>
                        <br />
                        <asp:Label ID="Label58" runat="server" Text="Reply By:" Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label59" runat="server" Text='<%# Eval("replyUser") %>' 
                            Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label60" runat="server" Text=", at:" Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label61" runat="server" ForeColor="#0099FF" 
                            Text='<%# Eval("dateTime") %>' Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label62" runat="server" Text=" from " Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label63" runat="server" ForeColor="Red" Text="Medical" 
                            Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label64" runat="server" Text="Post By: " Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label65" runat="server" Text='<%# Eval("userName") %>' 
                            Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label66" runat="server" Text=", at:" Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label67" runat="server" ForeColor="#0099FF" 
                            Text='<%# Eval("dateTime") %>' Font-Size="12pt"></asp:Label>
                        &nbsp;<asp:Label ID="Label68" runat="server" Text=" from " Font-Size="12pt"></asp:Label>
                        <asp:Label ID="Label69" runat="server" ForeColor="Red" Text="Medical" 
                            Font-Size="12pt"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <PagerSettings Visible="False" />
        </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource3" runat="server" 
            SelectMethod="getMedAnnouncement" 
            TypeName="outREACH.App_Code.MedicalAnnoucement" 
            OldValuesParameterFormatString="original_{0}">
        </asp:ObjectDataSource>
        <asp:GridView ID="GridView4" runat="server" align="center" 
            AutoGenerateColumns="False" DataSourceID="ObjectDataSource4" ShowHeader="False" 
            Visible="False" Width="600px" AllowPaging="True">
            <Columns>
                <asp:TemplateField ShowHeader="False">
                    <ItemTemplate>
                        <asp:Label ID="Label72" runat="server" Font-Bold="True" Font-Size="16pt">Donation</asp:Label>
                        <br />
                        <asp:Label ID="Label75" runat="server" Font-Size="14pt" 
                            Text='<%# Eval("name") %>'></asp:Label>
                        <asp:Label ID="Label76" runat="server" Font-Size="14pt" 
                            Text=" has just donated"></asp:Label>
                        <asp:Label ID="Label77" runat="server" Text="$" Font-Size="14pt"></asp:Label>
                        <asp:Label ID="Label78" runat="server" Font-Size="14pt" ForeColor="Orange" 
                            Text='<%# Eval("amount") %>'></asp:Label>
                        <asp:Label ID="Label79" runat="server" Font-Size="14pt" Text="to"></asp:Label>
                        <asp:Label ID="Label80" runat="server" Font-Size="14pt" ForeColor="Red" 
                            Text='<%# Eval("countryDonated") %>'></asp:Label>
                        <asp:Label ID="Label81" runat="server" Font-Size="14pt" Text="at"></asp:Label>
                        <asp:Label ID="Label82" runat="server" Font-Size="14pt" ForeColor="#0099FF" 
                            Text='<%# Eval("dateTimeDonated") %>'></asp:Label>
                        <br />
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <PagerSettings Visible="False" />
        </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource4" runat="server" 
            SelectMethod="getFinAnnouncement" 
            TypeName="outREACH.App_Code.FinancialAnnoucement" 
            OldValuesParameterFormatString="original_{0}"></asp:ObjectDataSource>
        <br />
    </asp:Panel>
</asp:Content>
